<?php 
class categoriesObj 
{
	var $id;
	var $name;
	var $description;
	var $deleteFlag;
	var $otherFields;

	public function TableName() { return "categories";}
	public function idFieldName() { return "id";}
	public function nameFieldName() { return "name";}
	public function descriptionFieldName() { return "description";}
	public function deleteFlagFieldName() { return "deleteFlag";}

	function categoriesObj ($pid="",$pname="",$pdescription="",$pdeleteFlag="") {

		$this->id = $pid;
		$this->name = $pname;
		$this->description = $pdescription;
		$this->deleteFlag = $pdeleteFlag;
	}

} 
?>